<link rel="match" href="password-script-expected.html">

<input type="password" id="passwd">

<script>
    // This verifies that changing password's value by script always resets the input to non-revealed state.
    var passwd = document.getElementById("passwd");
    passwd.focus();
    eventSender.keyDown('a');
    eventSender.keyDown('F8', ['altKey']);
    passwd.value = "123";
</script>